package com.briup.exception;

/**
 * 环境监测项目中自定义异常的定义
 * 1. 继承RuntimeException
 * 2. 重写构造器
 */
public class EnvException extends RuntimeException {
    public EnvException() {
        super();
    }

    public EnvException(CodeStatus codeStatus) {
        super(codeStatus.getCode() + ":" + codeStatus.getMsg());
    }
}
